<?=plugin\laoha\app\common\Template::header($title??'老蟹CMS')?>
<?=plugin\laoha\app\common\Template::nav('default',$active??'/')?>
<div class="container py-3 pb-0">
    <?=plugin\laoha\app\common\Template::bread($bread??'')?>
</div>
<div class="container">
    <div class="row">
        <div class="col-lg-9 mb-4">
            <div class="card shadow-sm mb-3 p-3 rounded-0">
                <div class="card-header bg-white">
                    <h5>上传的图片</h5>
                </div>

                <div class="container text-center p-0">
                    <div class="row row-cols-4 g-1">
                        <?php foreach($data['items'] as $item){ ?>
                        <div class="col image-div"><a href="<?=$item['url'] ?>" title="<?=$item['name'] ?>"><img
                                    src="<?=laoha_thumb($item['url'],300,300) ?>"
                                    class="w-100 img-thumbnail img-fluid"></a></div>
                        <?php } ?>
                    </div>
                </div>
            </div>
            <?=plugin\laoha\app\common\Template::page($data)?>
        </div>
        <div class="col-lg-3 mb-4">
            <div class="card shadow-sm mb-4 rounded-0">
                <?=plugin\laoha\app\common\Template::user($user_id)?>
            </div>
            <div class="card shadow-sm mb-4 rounded-0">
                <?=plugin\laoha\app\common\Template::user_nav($user_id,$url)?>
            </div>
        </div>
    </div>
</div>
<?=plugin\laoha\app\common\Template::footer()?>